package com.tiankong.product.mapper;

import com.tiankong.product.entity.CategoryBrand;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 品牌分类关联 Mapper 接口
 * </p>
 *
 * @author scl
 * @since 2021-03-22
 */
public interface CategoryBrandMapper extends BaseMapper<CategoryBrand> {

    List<CategoryBrand> selectListByBrandId(@Param("brandId") Long brandId);

    List<CategoryBrand> selectBrandsByCatId(@Param("catId") Long catId);
}
